<span><?php echo $message; ?></span>
<form action="" method="post">
    User name: <input type="text" name="name" /> <br>
    Password: <input type="password" name="password"/><br>
    <input type="submit" name="login-submit"/>
</form>

